package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;


@Table(name = "t_order_details")
public class OrderDetails extends BaseEntity {

    private Integer id;
    /**
     * 订单号
     **/
    private String orderNumber;
    /**
     * 商品id
     **/
    private Integer goodsId;
    /**
     * 单价
     **/
    private BigDecimal univalent;
    /**
     * 数量
     **/
    private Integer count;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 商品规格
     **/
    private String goodsSpec;
    /**
     * 商品名称
     **/
    private String goodsName;
    /**
     * 是否上门服务
     */
    private Integer isHomeInstallation;
    /**
     * 是否免费
     **/
    private Integer isFree;
    /**
     * 是否可以预约
     **/
    private Integer isBespeak;
    /**
     * 是否无理由退货
     **/
    private Integer isNoReasonReturn;
    /**
     * 退货状态   0已退货    1未退货 2申请退货 3商家同意退货  4申请换货  5商家同意换货   6拒绝换货  7拒绝退货
     **/
    private Integer status;
    /**
     * 单位
     **/
    private String unit;
    /**
     * 是否退款   0未退款   1已退款
     **/
    private Integer isReturn;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     **/
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    /**
     * 商品id
     **/
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 单价
     **/
    public BigDecimal getUnivalent() {
        return univalent;
    }

    public void setUnivalent(BigDecimal univalent) {
        this.univalent = univalent;
    }

    /**
     * 数量
     **/
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 商品规格
     **/
    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    /**
     * 商品名称
     **/
    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getIsHomeInstallation() {
        return isHomeInstallation;
    }

    public void setIsHomeInstallation(Integer isHomeInstallation) {
        this.isHomeInstallation = isHomeInstallation;
    }

    public Integer getIsFree() {
        return isFree;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    public Integer getIsBespeak() {
        return isBespeak;
    }

    public void setIsBespeak(Integer isBespeak) {
        this.isBespeak = isBespeak;
    }

    public Integer getIsNoReasonReturn() {
        return isNoReasonReturn;
    }

    public void setIsNoReasonReturn(Integer isNoReasonReturn) {
        this.isNoReasonReturn = isNoReasonReturn;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn) {
        this.isReturn = isReturn;
    }
}